package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.CategoryBrandDto;
import com.atguigu.spzx.model.entity.system.Brand;
import com.atguigu.spzx.model.entity.system.CategoryBrand;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CategoryBrandService {


    List<Brand> findBrandCategoryId(Long categoryId);

    PageInfo<CategoryBrand> findByPage(Integer page, Integer limit, CategoryBrandDto categoryBrandDto);

    void save(CategoryBrand categoryBrand);

    void updateById(CategoryBrand categoryBrand);

    void delById(Long id);
}
